<template>
  <div class="otherName">
    <div class="title">
      <span class="title-name">项目名称：</span>
      <span class="title-content">{{ message.subjectName }}</span>
    </div>
    <div class="progress">
      <div class="img1">
        <img src="../assets/images/user-one.png" alt="" />
        <div class="txt">挑选项目</div>
      </div>
      <div class="line">
        <img src="../assets/images/user-row.png" alt="" />
      </div>
      <div class="img1">
        <img src="../assets/images/user-two.png" alt="" />
        <div class="txt">提交项目申请</div>
      </div>
      <div class="line">
        <img src="../assets/images/user-row.png" alt="" />
      </div>
      <div class="img1">
        <img src="../assets/images/user-three.png" alt="" />
        <div class="txt">提交任务申领书</div>
      </div>
      <div class="line">
        <img src="../assets/images/user-row.png" alt="" />
      </div>
      <div class="img1">
        <img src="../assets/images/user-four.png" alt="" />
        <div class="txt">提交结项报告</div>
      </div>
    </div>
    <div class="remark">
      审核中,请耐心等待......
    </div>
    <div>
      <el-button type="primary" @click="$router.push('/user')"
        >返回上一层重新提交申请</el-button
      >
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      message: {
        id: "",
        count: "",
        subjectName: "",
        mentorContact: "", //联系方式
        facultyProfile: "", //导师简介
      },
    };
  },
  created() {
    this.getMessage();
  },
  methods: {
    getMessage() {
      let usermessage = JSON.parse(sessionStorage.getItem("userContent"));
      this.message = Object.assign({}, usermessage);
    },
  },
};
</script>
<style lang="less" scoped>
.otherName {
  height: 80%;
  width: 50%;
  transform: translate(50%);
  text-align: center;
  .title {
    margin-top: 40px;
    .title-name {
      height: 48px;
      font-size: 36px;
      font-weight: 500;
      line-height: 48px;
      color: #000000;
      opacity: 0.9;
    }
    .title-content {
      height: 48px;
      font-size: 36px;
      font-weight: 500;
      line-height: 48px;
      color: #1169ff;
      border-bottom: 1px solid #1169ff;
    }
  }
  .progress {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    .img1 {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      img {
        width: 64px;
        height: 64px;
        margin-bottom: 4px;
      }
      .txt {
        font-size: 14px;
        font-weight: 400;
        line-height: 18px;
        color: #000000;
        opacity: 0.8;
      }
    }
    .line {
      height: 64px;
      display: flex;
      align-items: center;
      img {
        width: 50%;
        transform: translate(50%);
      }
    }
  }
  .remark {
    height: 24px;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    color: #000000;
    opacity: 0.9;
    margin-top: 100px;
  }
  ::v-deep .el-button--primary {
    height: 40px;
    background: #0a59f7;
    border-radius: 2px;
    margin-top: 100px;
  }
}
@media screen and (max-width: 500px) {
  .otherName {
    width: 100%;
    transform: translateX(0);
    .title {
      margin-top: 20px;
      .title-name {
        font-size: 24px;
      }
      .title-content {
        font-size: 24px;
      }
    }
    .progress {
      .img1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        img {
          width: 36px;
          height: 36px;
        }
        .txt {
          font-size: 12px;
          width: 66px;
        }
      }
      .line {
        height: 36px;
      }
    }
    .remark {
      margin-top: 50px;
      font-size: 14px;
      padding: 0 20px;
    }
  }
}
</style>
